package sy.model.base;

/**
 * JSON结果模型，一般用于controller向前台返回
 * 
 * @author 孙宇
 * 
 */
public class JsonResult {

	private boolean success = false;
	private String info = "";
	private Object obj = null;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

}
